/**
 * Project Name:JingZhenGu
 * File Name:MakeList.java
 * Package Name:com.gc.jingzhengu.vo
 * Date:2014-6-12下午12:20:59
 * Copyright (c) 2014, wangyd523@gmail.com All Rights Reserved.
 */

package com.jzg.jcptadmin.data.vo;

import android.os.Parcel;
import android.os.Parcelable;

import com.jzg.jcptadmin.base.BaseObject;

import java.util.ArrayList;

/**
 * ClassName:MakeList <br/>
 * Function: 品牌实体列表对象. <br/>
 * Reason: TODO ADD REASON. <br/>
 * Date: 2014-6-12 下午12:20:59 <br/>
 *
 * @author 汪渝栋
 * @see
 * @since JDK 1.6
 */
public class MakeList extends BaseObject implements Parcelable {
    private ArrayList<Make> MakeList;

    public ArrayList<Make> getMakeList() {
        return MakeList;
    }

    public void setMakeList(ArrayList<Make> makeList) {
        MakeList = makeList;
    }

    @Override
    public String toString() {
        return "MakeList{" +
                "MakeList=" + MakeList +
                '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeTypedList(MakeList);
    }

    public MakeList() {
    }

    protected MakeList(Parcel in) {
        super(in);
        this.MakeList = in.createTypedArrayList(Make.CREATOR);
    }

    public static final Creator<MakeList> CREATOR = new Creator<MakeList>() {
        public MakeList createFromParcel(Parcel source) {
            return new MakeList(source);
        }

        public MakeList[] newArray(int size) {
            return new MakeList[size];
        }
    };
}
